<%@page import="com.yh.news.biz.*,com.yh.news.entity.*,java.util.*"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>新闻详情</title>
</head>
<body>
<%
	String id=request.getParameter("id");
	News news=null;
	if(id!=null){
		Integer nid=Integer.valueOf(id);
		NewsBiz nbiz=new NewsBiz();
		news=nbiz.showNewsById(nid);
	}
%>
	<table class="table">
		<caption>新闻修改</caption>
		
			<tr>
				<th>编号</th>
				<th><%=news.getNid() %></th>
			</tr>
		
			<tr>
				<td>标题</td>
				<td><input type="text" value="<%=news.getNtitle() %>"/></td>
			</tr>
		
			<tr>
				<td>内容</td>
				<td><%=news.getNcontent() %></td>
			</tr>
	</table>
</body>
</html>